package com.tdp.student;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Class implements Serializable {
	private String no;
	//one to more
	private Set<Student> students = new HashSet<Student>();
	public Class(String no, Set<Student> students) {
		super();
		this.no = no;
		this.students = students;
	}
	
	public Class() {
		super();
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public Set<Student> getStudents() {
		return students;
	}
	public void setStudents(Set<Student> students) {
		this.students = students;
	}
	
}
